//调用接口配置文件
import { request } from 'config/request'

// 获取省市区
export async function queryAllAddress(params) {
    return request({
        url: 'admin/address/queryAllAddress',
        method: 'GET',
        data: params,
    });
};


//新增直播平台
export async function addUuseeServ(params) {
    return request({
        url: 'admin/uuseeConfig/add',
        method: 'POST',
        data: params,
    });
};
//更新直播平台
export async function updateUuseeServ(params) {
    return request({
        url: 'admin/uuseeConfig/update',
        method: 'POST',
        data: params,
    });
};

//删除直播平台
export async function deleteUuseeServ(params) {
    return request({
        url: 'admin/uuseeConfig/delete',
        method: 'POST',
        data: params,
    });
};
//查询直播平台是否存在
export async function checkUuseeServ(params) {
    return request({
        url: `admin/uuseeConfig/check/${params}`,
        method: 'GET',
        // data: params,
    });
};